package com.sf.sgs.sessionevaluate.dao;

import java.util.List;

import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.Query;

import com.sf.sgs.sessionevaluate.domain.Test;

public interface ITestDao extends JpaRepository<Test, Long> {

	public Test findByValue(String value);

	@Query(value = "SELECT id,VALUE FROM tt_test where id=1;", nativeQuery = true)
	public List<Object[]> testNativeSql();

}
